import Vue from 'vue'
import VueRouter from 'vue-router'
// import store from '../store/index.js'
// import Cookies from 'js-cookie'
Vue.use(VueRouter)
const routes = [{
    path: '/',
    component: resolve => require(['../views/Index.vue'], resolve),
}, {
    path: '/pay_success',
    component: resolve => require(['../views/PaySuccess.vue'], resolve)
}
]

const router = new VueRouter({
    routes,
})

export default router